180 IF XX = 1 THEN VTAB 21: HTAB 20: PRINT "CONTROLLED MOTION"
185 IF XX = 2 THEN VTAB 21: HTAB (20): INVERSE : PRINT "ACCELERATED MOTION": NORMAL
190 IF XX = 3 THEN VTAB 21: HTAB (20): INVERSE : PRINT "CONSTANT MOTION": NORMAL
200 REM CONSTANT SPEED
210 GOSUB 1000: REM READ PADDLES
215 IF XX = 2 THEN 300
220 IF PA >200 THEN H = 2
230 IF PA <50 THEN H = -2
250 IF PB >200 THEN V = 2
260 IF PB <50 THEN V = -2
262 REM CONTROLLED MOTION
265 IF XX = 1 AND PA > = 50 AND PA < = 200 THEN H = 0
270 IF XX = 1 AND PB > = 50 AND PB < = 200 THEN V = 0
275 REM CONSTANT MOTION
280 IF XX = 3 THEN H = H + INT( RND(1) *3 -1):V = V + INT( RND(1) *3 -1)
290 GOTO 360
300 REM ACCELERATED MOTION
305 IF PA >200 THEN H = H +1
310 IF PA <50 THEN H = H -1
320 IF PA > = 50 AND PA < = 200 THEN H = 0
330 IF PB >200 THEN V = V +1
340 IF PB <50 THEN V = V -1
350 IF PB > = 50 AND PB < = 200 THEN V = 0
360 GOSUB 1100: GOSUB 1200: GOTO 210
1000 REM READ PADDLES
1010 PA = PDL(A) *50/50:PB = PDL(B) *50/50: RETURN
1100 REM PLOT POINTS
1110 IF X +H >278 OR X +H <1 THEN HCOLOR= 0: HPLOT X,Y:X = 140:Y = 70:H = 0:V = 0: GOTO 1160
1120 IF Y +V >158 OR Y +V <1 THEN HCOLOR= 0: HPLOT X,Y:X = 140:Y = 70:H = 0:V = 0: GOTO 1160
1140 HCOLOR= 3: HPLOT X +H,Y +V
1145 IF ZZ = 2 THEN 1160
1150 HCOLOR= 0: HPLOT X,Y
1160 X = X +H:Y = Y +V: RETURN
1200 REM TEST HIT
1205 IF X >TX AND Y >TY AND X <TX +TD AND Y <TY +TD THEN SC = SC +1: VTAB 22: CALL -868: PRINT "A HIT! SCORE =";SC:S = 50: GOTO 1300
1210 IF T = 0 THEN SC = SC -1: VTAB 22: CALL -868: PRINT "A MISS! SCORE =";SC:S = 10: HCOLOR= 0: HPLOT TX,TY TO TX +TD,TY TO TX +TD,TY +TD TO TX,TY +TD TO TX,TY: GOTO 1250